Package com.cisco.pt.ipc.sim.impl
Class CustomBluetoothProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.CustomBluetoothProcessImpl
- All Implemented Interfaces:
IPCObject,CustomBluetoothProcess,Process
Information provided by the PKI file:
\class CustomBluetoothProcess
\brief CustomBluetoothProcess is the process that manipulates the custom Bluetooth process.
\example network().getDevice("SBC0").getProcess("BluetoothManager").createCustomBluetoothProcess()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionCustomBluetoothProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionbooleanconnect(MACAddress dstMac, UUID dstService) Information provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:booleanstop()Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
CustomBluetoothProcessImpl
public CustomBluetoothProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
start
Information provided by the PKI file:
\brief Starts the custom bluetooth process on the specified service uuid. \param uuid, the service uuid. \return bool, true if successful, otherwise false.- Specified by:
startin interfaceCustomBluetoothProcess- Parameters:
service- Takes in a parameter of service- Returns:
- boolean Returns a boolean
-
connect
- Specified by:
connectin interfaceCustomBluetoothProcess- Parameters:
dstMac- Takes in a parameter of dstMacdstService- Takes in a parameter of dstService- Returns:
- boolean Returns a boolean
-
stop
public boolean stop()Information provided by the PKI file:
\brief Stops the custom bluetooth process. \return bool, true if successful, otherwise false.- Specified by:
stopin interfaceCustomBluetoothProcess- Returns:
- boolean Returns a boolean
-
isStarted
public boolean isStarted()Information provided by the PKI file:
\brief Returns true if the custom bluetooth process was started, otherwise false. \return bool, true if the custom bluetooth process was started, otherwise false.- Specified by:
isStartedin interfaceCustomBluetoothProcess- Returns:
- boolean Returns a boolean
-
getServiceUuid
Information provided by the PKI file:
\brief Returns the service uuid of this custom Bluetooth process. \return uuid, the service uuid of this custom Bluetooth process.- Specified by:
getServiceUuidin interfaceCustomBluetoothProcess- Returns:
- UUID Returns a UUID
-
getDstMac
- Specified by:
getDstMacin interfaceCustomBluetoothProcess- Returns:
- MACAddress Returns a MACAddress
-
getDstServiceUuid
- Specified by:
getDstServiceUuidin interfaceCustomBluetoothProcess- Returns:
- UUID Returns a UUID
-